@@ -5,6 +5,7 @@ Delayed::Worker.read_ahead = 5 |
||
5 | 5 |
Delayed::Worker.default_priority = 10 |
6 | 6 |
Delayed::Worker.delay_jobs = !Rails.env.test? |
7 | 7 |
Delayed::Worker.sleep_delay = (ENV['DELAYED_JOB_SLEEP_DELAY'].presence || 10).to_f |
8 |
+Delayed::Worker.logger = Rails.logger |
|
8 | 9 |
|
9 | 10 |
# Delayed::Worker.logger = Logger.new(Rails.root.join('log', 'delayed_job.log')) |
10 | 11 |
# Delayed::Worker.logger.level = Logger::DEBUG |